﻿using System;
using System.Collections.Generic;
using SARS.Entity;

namespace SARS.DAO.Facades
{
    public interface IUserDAO
    {
        List<UserEntity> RetrieveUserAll();
        UserEntity RetrieveUserById(int userId);
        UserEntity RetrieveUserByUserName(string userName);
        List<UserEntity> RetrieveUserByRoleId(Int32 roleId);
        List<StudentEntity> RetrieveStudentsByCourseId(Int32 courseId);
        List<StudentEntity> RetrieveStudentsByGroupId(Int32 groupId);
        List<TutorEntity> RetrieveTutorsByGroupId(int groupId);
        List<StudentEntity> SearchStudentByName(string text);
        List<TutorEntity> GetAllTutorOutOfGroup(int groupId);
        List<StudentEntity> GetAllCourseStudentOutOfGroup(Int32 groupId, Int32 courseId);
    }
}